From 5574c165a26196c7bbaa49e6a2fd69b42cd47841 Mon Sep 17 00:00:00 2001 From: "cl349@arcadians.cl.cam.ac.uk" Date: Thu, 25 Nov 2004 14:05:15 +0000 Subject: [PATCH] bitkeeper revision 1.1159.194.2 (41a5e69b3tIuTQ0hJ7dj4VL-MmKxuw) entry.S: Use __USER_DS for %ds/%es in kernel, like regular i386 Linux. --- linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S b/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S index f8f0b8c4fa..82be1d521d 100644 --- a/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S +++ b/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S @@ -102,10 +102,9 @@ VM_MASK = 0x00020000 pushl %edx; \ pushl %ecx; \ pushl %ebx; \ - movl $(__KERNEL_DS), %edx; \ + movl $(__USER_DS), %edx; \ movl %edx, %ds; \ movl %edx, %es; - # XXXcl USER? #define RESTORE_INT_REGS \ popl %ebx; \ -- 2.30.2